<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../head/head.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link type="text/css" rel="stylesheet" href="<%=path%>/css/body.css" />
<link type="text/css" rel="stylesheet"
	href="<%=path%>/css/theme/<%=peeling%>/jquery-ui-1.8.1.custom.css" />
<link type="text/css" rel="stylesheet"
	href="<%=path%>/js/vendor/jqgrid/v_3_6_5/css/ui.jqgrid.css"
	media="screen" />
<link type="text/css" rel="stylesheet"
	href="<%=path%>/js/vendor/formValidator/1_6_2/css/validationEngine.jquery.css" />
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/v_1_4_2/jquery-1.4.2.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/v_1_4_2/jquery-ui-1.8.1.custom.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/v_1_4_2/ui.datepicker-zh-CN.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jqgrid/v_3_6_5/i18n/grid.locale-cn.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jqgrid/v_3_6_5/jquery.jqGrid.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/v_1_4_2/jquery.form.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/my97/v_4_6/WdatePicker.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/formValidator/1_6_2/jquery.validationEngine-cn.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/formValidator/1_6_2/jquery.validationEngine.js"></script>
<script type="text/javascript" src="sys_scheduler_manage.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/common/ui/v_1_0/style.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/common/util/v_1_0/constant.js"></script>

<link type="text/css" rel="stylesheet"
	href="<%=path%>/js/vendor/jquery/jqueryalert/jquery.alerts.css" />
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/jqueryalert/jquery.alerts.js"></script>
</head>
<body>
<div class="tagContent" style="margin-top: 10px;">
<table id="jobDetails"></table>
<div id="pager"></div>
</div>
<div class="errbox">
<ul>
	<li>1、新增：点'新增'按钮进入弹出定时任务编辑页面填写相关信息即可完成定时任务添加功能。</li>
	<li>2、修改：从定时任务列表中选中一行记录,点'修改'按钮弹出定时任务编辑页面填写好相关信息即可完成出发器修改功能。</li>
	<li>3、删除：从定时任务列表中选一条或多条记录,点'删除'按钮即可完成定时任务删除功能。</li>
	<li>4、触发器管理：从列表中选一条或双击定时任务记录进入触发器管理界面进行相关操作。</li>
</ul>
</div>
<div id="triggerDialog" title="触发器列表" style="font-size: 12px">
<div class="tagContent" style="margin-top: 10px; width: 720px;">
<table id="triggersList"></table>
<div id="triggersPager"></div>
</div>
<div class="errbox">
<ul>
	<li>1、新增：点'新增'按钮进入弹出触发器编辑页面填写相关信息即可完成触发器添加功能。</li>
	<li>2、修改：从触发器列表中选中一行记录,点'修改'按钮弹出触发器编辑页面填写好相关信息即可完成出发器修改功能。</li>
	<li>3、删除：从触发器列表中选一条或多条记录,点'删除'按钮即可完成触发器删除功能。</li>
	<li>4、恢复：从触发器列表中选一条或多条记录,点'恢复'按钮即可将该触发器设置于运行状态。</li>
	<li>5、停止：从触发器列表中选一条或多条记录,点'停止'按钮即可将该触发器设置于停止状态。</li>
</ul>
</div>
</div>
<div id="jobDetail" title="定时任务" style="display: none;">
<form id="jobForm">
<fieldset class="rectangle" id="rm_searcn_fieldset"><legend><label>定时任务基本信息</label></legend>
<table>
	<tr>
		<td>名称：</td>
		<td><input type="text" id="jobName" name="jobDetailsBean.jobName"
			class="validate[required,custom[chineseEnglishNumber]]" />（必填）</td>
	</tr>
	<tr>
		<td>计划执行类：</td>
		<td><input type="text" id="beanId" name="jobDetailsBean.beanId"
			class="validate[required,custom[englishNumberLine]]" />（必填）</td>
	</tr>
	<tr>
		<td>计划执行方法：</td>
		<td><input type="text" id="executeMethod"
			name="jobDetailsBean.executeMethod"
			class="validate[required,custom[englishNumberLine]]" /> （必填）</td>
	</tr>
	<tr>
		<td>描述：</td>
		<td><textarea rows="6" name="jobDetailsBean.description"
			id="descriptionBean" cols="40"></textarea></td>
	</tr>
</table>
</fieldset>
<input type="button" id="saveJob" value="保存" /></form>
<div class="errbox">
<ul>
	<li>1、保存：保存定时任务基本信息到数据库。</li>
</ul>
</div>
</div>
<div id="triggerDetail" title="触发器信息" style="display: none;">
<form id="form1">
<input type="hidden" name="triggerBean.operator" id="operator" value="new"/>
<input type="hidden" name="triggerBean.oldTriggerName" id="oldTriggerName" value=""/>
<fieldset class="rectangle" id="rm_searcn_fieldset"><legend><label>触发器基本信息</label></legend>
<table>
	<tr>
		<td>名称：</td>
		<td><input type="text" id="triggerName"
			name="triggerBean.triggerName"
			class="validate[required,custom[chineseEnglishNumber]]" />（必填）</td>
	</tr>
	<tr>
		<td rowspan="2">执行频率：</td>
		<td><input type="radio" value="1" name="triggerBean.exeType" />月
		<input type="radio" value="2" name="triggerBean.exeType" />周 <input
			type="radio" value="3" name="triggerBean.exeType" />日</td>
	</tr>
	<tr>
		<td><input type="radio" value="4" name="triggerBean.exeType" />时
		<input type="radio" value="5" name="triggerBean.exeType" />分 <input
			type="radio" value="6" name="triggerBean.exeType" />秒 <input
			type="radio" value="7" name="triggerBean.exeType" />表达式</td>
	</tr>
	<tr id="opt">

	</tr>
	<tr id="remark">

	</tr>

	<tr>
		<td>说明：</td>
		<td><textarea rows="6" name="triggerBean.description" cols="40" id="trigerdescription"></textarea></td>
	</tr>
</table>
</fieldset>
<input type="button" id="saveTrigger" value="保存" /></form>
<div class="errbox">
<ul>
	<li>1、保存：保存触发器基本信息到数据库。</li>
</ul>
</div>
</div>
</body>
</html>